#include "fileCommand.h"
#include "dataBase.h"
int main(int argc,char**argv) {
    // filePath_t filePath;
    // initFilePath(&filePath,"","");
    MYSQL mysql;
    dataBase_t dataBase;
    snprintf(dataBase.host,sizeof(dataBase.host),"localhost");
    snprintf(dataBase.user,sizeof(dataBase.user),"root");
    snprintf(dataBase.passwd,sizeof(dataBase.passwd),"123");
    snprintf(dataBase.db,sizeof(dataBase.db),"test");

    printf("host = %s\nuser = %s\n",dataBase.host,dataBase.user);
    printf("passwd = %s\ndb = %s\n",dataBase.passwd,dataBase.db);

    initDataBase(&mysql,dataBase);
    closeDataBase(&mysql);
    return 0;
}